package com.anlu.base;

import java.rmi.Remote;

public interface CircuitBreaker {

    void recordSuccess();


    void recordFailure(String response);

    String getState();

    void setState(State state);


    String attemptRequest()throws RemoteServiceException;


}
